/**
 * output package name
 */
package com.kingdee.eas.hr.affair;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ApproveStateEnum extends IntEnum
{
    public static final int DIRECT_VALUE = 0;
    public static final int WORKFLOW_VALUE = 1;

    public static final ApproveStateEnum DIRECT = new ApproveStateEnum("DIRECT", DIRECT_VALUE);
    public static final ApproveStateEnum WORKFLOW = new ApproveStateEnum("WORKFLOW", WORKFLOW_VALUE);

    /**
     * construct function
     * @param integer approveStateEnum
     */
    private ApproveStateEnum(String name, int approveStateEnum)
    {
        super(name, approveStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ApproveStateEnum getEnum(String approveStateEnum)
    {
        return (ApproveStateEnum)getEnum(ApproveStateEnum.class, approveStateEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ApproveStateEnum getEnum(int approveStateEnum)
    {
        return (ApproveStateEnum)getEnum(ApproveStateEnum.class, approveStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ApproveStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ApproveStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ApproveStateEnum.class);
    }
}